package com.jn.rxjava.service;

import io.reactivex.rxjava3.core.Observable;
import retrofit2.http.GET;
import retrofit2.http.Path;
import retrofit2.http.Query;

public interface ApiService {


    @GET("weather/weather")
    Observable<WeatherResponse> getWeather(@Query("city_name") String cityName);
    @GET("common/today")
    Observable<NewsResponse> getNews();
}
